import fjRequest from "./index"

export function getBanner(){
  return fjRequest.get("/banner",{
    type:2
  })
}

export function getRankings(idx){
  return fjRequest.get("/top/list",{
    idx
  })
}

export function getSongMemu(cat="全部",limit="6",offset="0"){
  return fjRequest.get("/top/playlist",{
    cat,
    limit,
    offset
  })
}

export function getSongDetail(id){
  return fjRequest.get("/playlist/detail/dynamic",{
    id
  })
}